<?php
include_once ($_SERVER['DOCUMENT_ROOT'].'/global.php');
$sql="Update user set MiMa = '{$_POST['password']}' where id = {$_POST['CurPersonId']}";
$mysqli->query($sql);
echo json_encode('1');
exit;
?>
